package com.itmk.web.goods_comment.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itmk.web.goods_comment.entity.GoodsComment;
import com.itmk.web.goods_comment.mapper.GoodsCommentMapper;
import com.itmk.web.goods_comment.service.GoodsCommentService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsCommentServiceImpl extends ServiceImpl<GoodsCommentMapper, GoodsComment> implements GoodsCommentService {
    @Override
    public List<GoodsComment> commentList(Long goodId) {
        return this.baseMapper.commentList(goodId);
    }
}
